//
// Created by Administrator on 2022/6/15.
//

#ifndef NOTIFICATIONICON_H
#define NOTIFICATIONICON_H

#include <wx/taskbar.h>

class MyDialog;

class NotificationIcon : public wxTaskBarIcon{
public:
    NotificationIcon( MyDialog *mainFrame );
    ~NotificationIcon() override;

    void OnLeftDoubleClick(wxTaskBarIconEvent &event);
    void OnQuit(wxCommandEvent& event);
    virtual wxMenu* CreatePopupMenu();
protected:
    static const int PopupExitID;

    MyDialog *mainFrame;
private:
DECLARE_EVENT_TABLE()

};

#endif
